<div class="row" style="margin-top: 10px">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-body table-responsive no-padding">
                <table class="table table-hover">
                    <tr>
                        <th>序号</th>
                        <th>初始化功能</th>
                        <th>执行机器</th>
                        <th>创建者</th>
                        <th>创建时间</th>
                        <th>结果</th>
                    </tr>
                    {% for log in logs %}
                        <tr>
                            <td>{{ forloop.counter }}</td>
                            <td>{{ log.init.name }}</td>

                            <td>
                                {% for host in log.hosts_list.all %}
                                    {{ host.hostip }},
                                {% endfor %}
                            </td>
                            <td>{{ log.user.name }}</td>
                            <td>{{ log.create_time|date:"Y-m-d H:i:s" }}</td>
                        </tr>
                    {% endfor %}
                </table>
            </div>
        </div>
    </div>
</div>
